package _4_8;

public class Main {
	public static void main (String[] args) {
		SchoolClass a = new SchoolClass ();

		a.addTeacher (new Teacher ("Itosu Anko"));
		a.getTeacherAt (0).addDiscipline (
				new Discipline ("Shorinryu", Integer.MAX_VALUE,
						Integer.MAX_VALUE));

		a.addStudent ("Funakoshi Gichin");
		a.addStudent ("Mabuni Kenwa");
		a.addStudent ("Kyan Chotoku");

		a.print ();

		SchoolClass b = new SchoolClass ();
		b.addTeacher (new Teacher ("Asato Anko"));
		b.getTeacherAt (0).addDiscipline (
				new Discipline ("Shoreiryu", Integer.MAX_VALUE,
						Integer.MAX_VALUE));

		b.addStudent ("Funakoshi Gichin");

		b.print ();

		SchoolClass c = new SchoolClass ();
		c.addTeacher (new Teacher ("Funakoshi Gichin"));
		c.getTeacherAt (0).addDiscipline (
				new Discipline ("Shotokan", Integer.MAX_VALUE,
						Integer.MAX_VALUE));

		c.addStudent ("Egami Shigeru");
		c.addStudent ("Funakoshi Gigo");
		c.addStudent ("Nakayama Masatoshi");
		c.addStudent ("Otsuka Hironori");
		c.addStudent ("Obata Isao");

		c.print ();

		SchoolClass d = new SchoolClass ();
		d.addTeacher (new Teacher ("Funakoshi Gigo"));
		d.getTeacherAt (0).addDiscipline (
				new Discipline ("Shotokan", Integer.MAX_VALUE,
						Integer.MAX_VALUE));

		d.addStudent ("Kase Taiji");

		d.print ();
	}
}
